home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DSPROV.MO_ / dsprov.mof
Encoding:
Text File  |  2003-03-24  |  18.0 KB  |  223 lines

  1.  ■// Copyright (c) 1997-2003 Microsoft Corporation, All Rights Reserved
  2. #pragma autorecover
  3. #pragma namespace("\\\\.\\root")
  4. Instance of __Namespace
  5. {
  6.   Name = "directory";
  7. };
  8. #pragma namespace("\\\\.\\root\\directory")
  9. Instance of __Namespace
  10. {
  11.   Name = "LDAP";
  12. };
  13. #pragma namespace("\\\\.\\root\\directory\\LDAP")
  14. class Uint8Array
  15. {
  16.   [Read] uint8 value[];
  17. };
  18. class DN_With_String
  19. {
  20.   [Read] string dnString;
  21.   [Read] string value;
  22. };
  23. class DN_With_Binary
  24. {
  25.   [Read] string dnString;
  26.   [Read] uint8 value[];
  27. };
  28. [singleton,dynamic,provider("Microsoft|DSLDAPInstanceProvider|V1.0")] 
  29. class RootDSE
  30. {
  31.   [Read] string subschemaSubentry;
  32.   [Read] string currentTime;
  33.   [Read] string serverName;
  34.   [Read] string namingContexts[];
  35.   [Read] string defaultNamingContext;
  36.   [Read] string schemaNamingContext;
  37.   [Read] string configurationNamingContext;
  38.   [Read] string rootDomainNamingContext;
  39.   [Read] string supportedControl[];
  40.   [Read] string supportedLDAPVersion[];
  41.   [Read] string dnsHostName;
  42.   [Read] string dsServiceName;
  43.   [Read] string highestCommittedUSN;
  44.   [Read] string LDAPServiceName;
  45.   [Read] string supportedCapabilities;
  46.   [Read] string supportedLDAPPolicies[];
  47.   [Read] string supportedSASLMechanisms[];
  48. };
  49. [Abstract] 
  50. class DS_LDAP_Root_Class
  51. {
  52.   [Read,KEY] string ADSIPath;
  53. };
  54. Instance of __Win32Provider as $ClassProvider
  55. {
  56.   Name = "Microsoft|DSLDAPClassProvider|V1.0";
  57.   Clsid = "{1EF94880-01A8-11d2-A90B-00AA00BF3363}";
  58.   ImpersonationLevel = 1;
  59.   PerUserInitialization = TRUE;
  60.   HostingModel = "NetworkServiceHost";
  61. };
  62. Instance of __ClassProviderRegistration
  63. {
  64.   Provider = $ClassProvider;
  65.   SupportsGet = TRUE;
  66.   SupportsPut = FALSE;
  67.   SupportsDelete = FALSE;
  68.   SupportsEnumeration = TRUE;
  69.   ResultSetQueries = {"Select * From meta_class Where __this isa \"DS_LDAP_Root_Class\""};
  70.   UnsupportedQueries = {"Select * From meta_class Where __Class = \"DS_LDAP_Root_Class\""};
  71. };
  72. [Association : ToInstance,dynamic,HasClassRefs,provider("Microsoft|DSLDAPClassAssociationsProvider|V1.0")] 
  73. class DS_LDAP_Class_Containment
  74. {
  75.   [Read,key,classref{"DS_LDAP_Root_Class"} : ToInstance ToSubclass] object Ref ChildClass;
  76.   [Read,key,classref{"DS_LDAP_Root_Class"} : ToInstance ToSubclass] object Ref ParentClass;
  77. };
  78. Instance of __Win32Provider as $AssociationsProvider
  79. {
  80.   Name = "Microsoft|DSLDAPClassAssociationsProvider|V1.0";
  81.   Clsid = "{33831ED4-42B8-11d2-93AD-00805F853771}";
  82.   ImpersonationLevel = 1;
  83.   HostingModel = "NetworkServiceHost";
  84. };
  85. Instance of __InstanceProviderRegistration
  86. {
  87.   Provider = $AssociationsProvider;
  88.   SupportsGet = TRUE;
  89.   SupportsPut = FALSE;
  90.   SupportsDelete = FALSE;
  91.   SupportsEnumeration = TRUE;
  92. };
  93. [Association : ToInstance,dynamic,provider("Microsoft|DSLDAPInstanceProvider|V1.0")] 
  94. class DS_LDAP_Instance_Containment
  95. {
  96.   [Read,KEY] DS_LDAP_Root_Class Ref ChildInstance;
  97.   [Read,KEY] DS_LDAP_Root_Class Ref ParentInstance;
  98. };
  99. Instance of __Win32Provider as $InstanceProvider
  100. {
  101.   Name = "Microsoft|DSLDAPInstanceProvider|V1.0";
  102.   Clsid = "{AA527A40-4D9A-11d2-93AD-00805F853771}";
  103.   PerUserInitialization = TRUE;
  104.   ImpersonationLevel = 1;
  105.   HostingModel = "NetworkServiceHost";
  106. };
  107. Instance of __InstanceProviderRegistration
  108. {
  109.   Provider = $InstanceProvider;
  110.   SupportsGet = TRUE;
  111.   SupportsPut = TRUE;
  112.   SupportsDelete = TRUE;
  113.   SupportsEnumeration = TRUE;
  114.   QuerySupportLevels = {"WQL:UnarySelect"};
  115. };
  116. class DN_Class
  117. {
  118.   [Read,KEY] string DN;
  119. };
  120. [Association : ToInstance] 
  121. class DSClass_To_DNInstance
  122. {
  123.   [Read,KEY,classref("DS_LDAP_Root_Class") : ToInstance ToSubclass] string DSClass;
  124.   [Read,KEY] DN_Class Ref RootDNForSearchAndQuery;
  125. };
  126. #pragma autorecover
  127. #pragma namespace("\\\\.\\root\\directory\\LDAP")
  128. instance of __namespace{ name="ms_409";};
  129. #pragma namespace("\\\\.\\root\\directory\\LDAP\\ms_409")
  130. [Description("This is the class used to model the AD Syntax Octet String") : Amended,AMENDMENT, LOCALE(0x409)] 
  131. class Uint8Array
  132. {
  133.   [Description("This is array of uint8 values that for the Octet String") : Amended] uint8 value[];
  134. };
  135. [Description("This is the class used to model the AD Syntax DN_With_String") : Amended,AMENDMENT, LOCALE(0x409)] 
  136. class DN_With_String
  137. {
  138.   [Description("This is the DN string component of the tuple") : Amended] string dnString;
  139.   [Description("This is the Value component of the tuple") : Amended] string value;
  140. };
  141. [Description("This is the class used to model the AD Syntax DN_With_Binary") : Amended,AMENDMENT, LOCALE(0x409)] 
  142. class DN_With_Binary
  143. {
  144.   [Description("This is the DN string component of the tuple") : Amended] string dnString;
  145.   [Description("This is the Value component of the tuple") : Amended] uint8 value[];
  146. };
  147. [Description("This is the class used to model the LDAP RootDSE object") : Amended,AMENDMENT, LOCALE(0x409)] 
  148. class RootDSE
  149. {
  150.   [Description("Distinguished name for the subSchema object. The subschemaSubentry property and subschema are defined in LDAP 3.0 (see RFC 2251).") : Amended] string subschemaSubentry;
  151.   [Description("Current time set on this directory server") : Amended] string currentTime;
  152.   [Description("Distinguished name for the server object for this directory server in the configuration container") : Amended] string serverName;
  153.   [Description("DISTINGUISHED NAMEs for all naming contexts stored on this directory server. By default, a Windows 2000 domain controller contains at least three namespaces: Schema, Configuration, and one for the domain of which the server is a member") : Amended] string namingContexts[];
  154.   [Description("The distinguished name for the domain of which this directory server is a member") : Amended] string defaultNamingContext;
  155.   [Description("Distinguished name for the schema container") : Amended] string schemaNamingContext;
  156.   [Description("Distinguished name for the configuration container") : Amended] string configurationNamingContext;
  157.   [Description("Distinguished name for the first domain in the forest that contains the domain of which this directory server is a member") : Amended] string rootDomainNamingContext;
  158.   [Description("OIDs for extension controls supported by this directory server") : Amended] string supportedControl[];
  159.   [Description("LDAP versions (specified by major version number) supported by this directory server") : Amended] string supportedLDAPVersion[];
  160.   [Description("DNS address for this directory server") : Amended] string dnsHostName;
  161.   [Description("The distinguished name of the NTDS settings object for this directory server") : Amended] string dsServiceName;
  162.   [Description("Highest USN used on this directory server. Used by directory replication") : Amended] string highestCommittedUSN;
  163.   [Description("Service Principal Name (SPN) for the LDAP server. Used for mutual authentication") : Amended] string LDAPServiceName;
  164.   [Description("The OBJECT IDENTIFIERs (OIDs) identifying the supported capabilities of the server") : Amended] string supportedCapabilities;
  165.   [Description("Supported LDAP management policies.") : Amended] string supportedLDAPPolicies[];
  166.   [Description("Security mechanisms supported for SASL negotiation (see LDAP RFCs). By default, GSSAPI is supported") : Amended] string supportedSASLMechanisms[];
  167. };
  168. [Description("This acts as the base class of all the classes provides by the DS Provider") : Amended,AMENDMENT, LOCALE(0x409)] 
  169. class DS_LDAP_Root_Class
  170. {
  171.   [KEY,Description("This is the key for any DS Object") : Amended] string ADSIPath;
  172. };
  173. [Description("This class models the possible superiors of a DS class") : Amended,AMENDMENT, LOCALE(0x409)] 
  174. class DS_LDAP_Class_Containment
  175. {
  176.   [key,Description("The child DS Class") : Amended] object Ref ChildClass;
  177.   [key,Description("The parent DS Class") : Amended] object Ref ParentClass;
  178. };
  179. [Description("This class models the parent-child container relationship of instances in the DS") : Amended,AMENDMENT, LOCALE(0x409)] 
  180. class DS_LDAP_Instance_Containment
  181. {
  182.   [KEY,Description("The child DS instance") : Amended] DS_LDAP_Root_Class Ref ChildInstance;
  183.   [KEY,Description("The child DS instance") : Amended] DS_LDAP_Root_Class Ref ParentInstance;
  184. };
  185. [Description("A class to encapsulate a DN") : Amended,AMENDMENT, LOCALE(0x409)] 
  186. class DN_Class
  187. {
  188.   [KEY,Description("The ADSI Path to the object in the DS") : Amended] string DN;
  189. };
  190. [Description(" Use an instance of this class to allow the client to give a hint to the DS Instance Provider to scope enumerations and queries to a particular sub-tree or a naming context. The client should create instances of this class if it wants the DS Provider to do enumerations and queries of a specific DS class from a specific DS Object as the root") : Amended,AMENDMENT, LOCALE(0x409)] 
  191. class DSClass_To_DNInstance
  192. {
  193.   [KEY,Description("The Name of the class for which scoping is to be used") : Amended] string DSClass;
  194.   [KEY,Description("The reference to an instance of DN_Class that gives the ADSI path of the object below which the search should be scoped") : Amended] DN_Class Ref RootDNForSearchAndQuery;
  195. };